<template>
    <div class="user-table">
        <p><span>姓名：</span><span>{{data.name}}</span></p>
        <p><span>年龄：</span><span>{{data.age}}</span></p>
        <p><span>班级：</span><span>{{data.ckass}}</span></p>
        <p><span>身高: </span><span>{{data.height}}</span></p>
        <p><span>体重：</span><span>{{data.weigth}}</span></p>
    </div>
</template>

<script>
    export default {
        name: "UserTable",
        props: {
            data: Object
        }
    }
</script>

<style scoped>

</style>